Skip to content

chore(deps): update dependency fantomas to v8 - #40

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fantomas-8.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fantomas-8.x

Conversation

@renovate

@renovate renovate Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fantomas (source) 6.2.3 → 8.0.5 age confidence

Release Notes

fsprojects/fantomas (fantomas)

v8.0.5

Compare Source

Changed
  • Improved formatting performance. Formatting the source files of dotnet/fsharp allocates around 40% less memory and is roughly 1.4 times faster than 8.0.4, depending on hardware. The fields of WriterEvent, returned by CodeFormatter.GetWriterEventsAsync, are renamed so that cases share them: text for the strings, amount for IndentBy and UnIndentBy, column for the indent and column cases, and nodeType and range for NodeEnd. #​3499
  • Update FCS to 'Record the range of the exceptionin SynExceptionDefnRepr', commit 349d6aa #​3500
Fixed
  • Comment between doc comment and exception keyword gets shifted. The syntax tree had no range for the exception keyword, so a comment between the XML doc or attributes and the keyword was placed in front of the exception name, after the keyword. The parser now records that range, and the comment stays in front of the keyword. #​3483

v8.0.4

Compare Source

Changed
  • Improved formatting performance. Formatting the source files of dotnet/fsharp allocates around 40% less memory and is roughly 1.4 times faster than 8.0.4, depending on hardware. The fields of WriterEvent, returned by CodeFormatter.GetWriterEventsAsync, are renamed so that cases share them: text for the strings, amount for IndentBy and UnIndentBy, column for the indent and column cases, and nodeType and range for NodeEnd. #​3499
  • Update FCS to 'Record the range of the exceptionin SynExceptionDefnRepr', commit 349d6aa #​3500
Fixed
  • Comment between doc comment and exception keyword gets shifted. The syntax tree had no range for the exception keyword, so a comment between the XML doc or attributes and the keyword was placed in front of the exception name, after the keyword. The parser now records that range, and the comment stays in front of the keyword. #​3483

v8.0.3

Compare Source

Fixed
  • Second block comment on a line is lost and the next expression moves onto the comment line. A line that holds several comments and no code, such as (* b *) (* c *), was read as one block comment next to code per comment, and there was no code on that line to attach them to. The first one ended up in front of the next expression, pulling it onto the comment line, and the others were dropped. Such a line is now one comment on a line of its own, printed as it was written. #​3487
  • Idempotency problem when a comment follows a multiline infix expression in a let binding. A comment on its own line after c + and d, at the column of both, was attached to d rather than to c + d. That made the expression multiline, so the operator moved to the start of the next line, and on the next format the comment went to the whole expression and it was joined onto one line again. An indented comment now goes after the outermost preceding node that starts a line at its column, and only falls back to a node further along a line when there is none. #​3488

v8.0.2

Compare Source

Fixed
  • Code comment inside match-expression leads to additional blank line. A comment that ends the multi-line body of a match clause, and then any blank lines the author kept after it, came out with one blank line more than the source had. The same happened before else, finally, end and the next field of a record, whenever the indented body before them ended in a comment. Since 8.0.0 the unindent that closes such a body leaves the comment's newline at the very end of what was written, and the separator the enclosing construct writes next then opened a second line. Those separators now skip their newline when the comment already wrote one, as the closing brace of a record has done since 8.0.0. Blank lines the author kept, and the ones Fantomas puts between multi-line members and bindings, are unchanged. #​3484

v8.0.1

Compare Source

Fixed
  • Remove TailCall shim from Fantomas.FCS. #​3476
  • Fantomas 8 with use bindings in fsx-file. A use at the top level of a script makes the parser warn that it is treated as let, and the check Fantomas runs over its own output refused the file on that warning. The warning is about the source as the author wrote it, not about anything the formatter changed, so it is now one of the warnings the check tolerates. #​3478
  • Unexpected de-indent after trivia after expression. A comment at the end of a match that closes a computation expression, or a let body, pushed the closing brace and the next binding one level too far to the right. The unindent before the closing line was placed in front of the comment's newline, where the match still held the column it had claimed and restored its own indent on the way out, undoing the unindent. The newline now moves past those restores, so the line after the comment starts at the outer level. #​3481

v8.0.0

Changed
  • Stable release.

v7.0.6

Fixed
  • Formatting multiple files at once could place comments against the wrong node. #​3391

v7.0.5

Fixed
  • Fixed automated GitHub releases. #​3205

v7.0.4

Changed

v7.0.3

Compare Source

Fixed
  • Application in indexed set should not be multiline. #​1999

v7.0.2

Compare Source

Changed
  • Print version at beginning of execution when detailed verbosity is set. 3148
Fixed
  • Anonymous records in interpolated strings. #​3162
  • Preserve backticks in active pattern idents. #​3126
  • New lines are added after comment in measure type. #​3145
  • Idempotency problem with comments in applications on lambda expressions. #​3128

v7.0.1

Compare Source

Fixed
  • Add missing 'MultilineBracketStyle' in the returned configuration JSON. #​3151

v7.0.0

Compare Source

Changed
  • Stable release.

v6.3.16

Compare Source

Fixed
  • Idempotency problem when calling multi-line discriminated union with generic type parameter. #​3132

v6.3.15

Compare Source

Fixed
  • Non needed parentheses are added around lambda call from tuple/members. #​3082

v6.3.14

Compare Source

Fixed
  • Idempotency problem when _.Property shorthand with record value. #​3120

v6.3.13

Compare Source

Fixed
  • Idempotency problem when adding members to a single case union without a pipe #​3102

v6.3.12

Compare Source

Fixed
  • Fantomas deletes attributes from getters. #​3114

v6.3.11

Compare Source

Fixed
  • F# Range Operator (..) with negative numbers produces invalid F# code and idempotent. #​3105

v6.3.10

Compare Source

Changed
  • Update FCS to 'Allow ParsedHashDirectives to take non string arguments', commit 836d4e0 #​3096
Fixed
  • Regression with dot lambda args being pushed out too far. #​3097

v6.3.9

Compare Source

Fixed
  • Invalid location of comma when using named parameters for a class. #​2865

v6.3.8

Compare Source

Fixed
  • Fix loss of tuple type annotation without parens. #​2942
  • Fix precedence change of ||> due to inserted newline. #​2866

v6.3.7

Compare Source

Fixed
  • Fix case determination issue with ExprAppNode and ExprParenNode. #​2998

v6.3.6

Compare Source

Fixed
  • Fix case determination issue with ExprAppSingleParenArgNode. #​3088

v6.3.5

Compare Source

Fixed
  • Idempotency problem when _.Property shorthand. #​3050

v6.3.4

Compare Source

Fixed
  • Regression: An empty line or comment at the end of a list breaks Stroustrup formatting. #​3079

v6.3.3

Compare Source

Fixed
  • FormatASTAsync loses single quotes for characters. #​3076

v6.3.2

Compare Source

Changed
Fixed
  • Fantomas corrupts an explicit constructor with then clause. #​3074

v6.3.1

Compare Source

Fixed
  • Idempotency problem when calling multi-line discriminated union with generic type parameter. #​3132

v6.3.0

Compare Source

Changed
  • Stable release of 6.3

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/fantomas-8.x branch 3 times, most recently from ae005a5 to f8fe4a2 Compare September 23, 2026 17:59
@renovate
renovate Bot force-pushed the renovate/fantomas-8.x branch from f8fe4a2 to ae2ff70 Compare September 25, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants